<h2>Información de la ruta</h2>
<table>
	<tr><td><b>Nombre: Ruta</b></td><td><%= text_field_tag "", @route.nombre, :class => "MiTextField1", :readonly => true %></td></tr>
	<tr><td><b>Distancia (km):</b></td><td><%= text_field_tag "", @route.distancia, :class => "MiTextField1", :readonly => true %></td></tr>
	<tr><td><b>Nro. Accidentes:</b></td><td><%= text_field_tag "", @route.numAccidentes, :class => "MiTextField1", :readonly => true %></td></tr>
</table>

<%= field_set_tag "Terminales de la ruta", :class => "MiFieldSet1" do %>
<table id="MiTabla1">
  <tr>
    <th class="MiHeader1">Orden</th>
		<th class="MiHeader1">Ciudad</th>
    <th class="MiHeader1">Capacidad</th>
    <th class="MiHeader1">Mapa</th>
  </tr>
	<% i =1 %>
	<% @stations.each do |s| %>
		<tr>
			<td class="MiCelda1" style="text-align: center"><%= i %></td>
		  <td class="MiCelda1" style="text-align: center"><%= s.ciudad %></td>
		  <td class="MiCelda1" style="text-align: center"><%= s.capacidad %></td>
			<td class="MiCelda1" style="text-align: center"><%= link_to image_tag("ver_mapa.png", :size => "15x15"), root_path %></td>
		</tr>
		<% i = i + 1 %>
	<% end %>
</table>
<% end %>
